/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package facades;

import entities.CompanyFolderType;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author Alvaro
 */
@Stateless
public class CompanyFolderTypeFacade extends AbstractFacade<CompanyFolderType> {
    @PersistenceContext(unitName = "ProyectoPU")
    private EntityManager em;
    
    private final Integer normalId =1;
    private final Integer workWithUsId=2;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public CompanyFolderTypeFacade() {
        super(CompanyFolderType.class);
    }
    
    public CompanyFolderType getNormalFolderType(){
        return find(normalId);
    }
    
    public CompanyFolderType getWorkWithUsFolderType(){
        return find(workWithUsId);
    }
    
}
